<template>
  <view class="container">
    <uni-forms :modelValue="form" label-width='200rpx'>
      <uni-forms-item label="婚姻存续时间" name="length">
        <uni-easyinput type="number" v-model="form.length" placeholder="请输入婚姻存续时间"></uni-easyinput>
      </uni-forms-item>
      <uni-forms-item label="申领金额" name="amount">
        <uni-easyinput type="number" v-model="form.amount" placeholder="请输入申领金额"></uni-easyinput>
      </uni-forms-item>

    </uni-forms>
    <view class="tip">
      <uni-icons type="help" size="20"></uni-icons>
      <text style="font-size: 12px;">
        填写说明：【{{ currentSyr.name }}】特定受益人的某一段婚姻满【{{
          form.length || '婚姻存续时间'
        }}】年，经提前向受托人提供有效的结婚证等材料后，可一次性申领不超过【{{ form.amount || '申领金额' }}】万元的婚姻和谐奖励金。婚姻和谐奖励金仅限申领一次。如无需填写，则选择跳过。
      </text>
    </view>
    <view class="bottom" style="display: flex;justify-content: center">
      <button class="button" type="primary" @click="jump(207)">跳过</button>
      <button class="button" type="primary" @click="submit">下一步</button>
    </view>
  </view>
</template>

<script>
import userInfoMixin from "../../common/js/userInfoMixin";

export default {
  mixins: [userInfoMixin],
  data() {
    return {
      name: '206',
      form: {
        length: '',
        times: ''
      }
    }
  },
  methods: {

    change() {

    },

    prevStep() {
      uni.navigateTo({
        url: '/pages/205syrfpj/205syrfpj',
        success() {
          console.log('succ')
        },
        fail() {
          console.log('failed')
        }
      })
    },
    submit() {
      this.submitData({key: 'hyhxjlj', data: this.form}, '207')

    },
  }
}
</script>

<style>

</style>
